<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>账号注册-党支部论坛</title>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <style>
        body{
            background-image:url("../../images/login/register.jpg");
            background-size:cover;
        }
        #gou {
            width: 60px;
            height: 60px;
            position: absolute;
            top: 150px;
            left: 450px;
        }
        #wrapper{
            width: 1250px;
            height: 600px;
            margin: 0 auto;

        }
        #header{
            width: 100%;
            height: 30px;
        }
        #main{
            background-color: rgba(96,96,96,0.1);
            margin-left: 250px;
            margin-top: 60px;
            padding-top: 40px;
            width: 700px;
            height: 400px;
            border-radius: 10px;
            text-align: center;
        }
        p{display: inline;}
    </style>
</head>
<body>
<div id="wrapper">
    <div id="header"></div>
    <div id="main">
        <label><img src="../../images/login/勾.png" alt="" id="gou"></label>
        <h2 style="color: red">恭喜！注册成功</h2>
        <h4 style="color: #5375e6;">请记住下面信息</h4>
        <p>您的用户名是：</p><p th:text="${username}"></p><br><br>
        <p>您的密码是：********</p><br><br>
        <p>您的邮箱是：</p><p th:text="${email}"></p><br><br><br>
        <p id="close"></p><p>,你也可以选择直接点击</p><a href="/login">登录</a>
    </div>
</div>
<script>
    var count=3;
    function clos() {
        if(count>0){
            $("#close").text(count+"后跳转到登录界面")
            count--;
            setTimeout(clos,1000);
        }else {
            window.location="/iogin"
        }
    }
    setTimeout(clos,1);
</script>
</body>
</html>